package com.exam.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Des 题库实体
 * @Author ymj
 * @Date 2021/9/6 14:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户实体")
@TableName(value = "questions")
public class Questions extends BaseEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键 题库id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "题库名称", example = "期末考试")
    private String name;
}
